package asteroids.model.programs;

import be.kuleuven.cs.som.annotate.*;

public class Global<T> {
	
	public Global(String name, T value){
		this.name = name;
		setValue(value);
	}
	
	public void setValue(T value){
		this.value=value;
	}

	
	@Basic
	public T getValue(){
		return this.value;
	}
	
	
	private T value;
	
	@Basic @Immutable
	public String getName(){
		return this.name;
	}
	
	
	private String name;
	
	

}
